package ch01.graphics;

import java.net.URL;

import javax.swing.ImageIcon;
import javax.swing.JOptionPane;

public class IconViewer {
	
	public static void main(String[] args) throws Exception
	{
		URL imageLocation = new URL("http://horstmann.com/bigjava/duke.gif");
		JOptionPane.showMessageDialog(null, "Hello fucker. See if I'll woop you motherfucking ass up, word!", "There you go nigga!", JOptionPane.PLAIN_MESSAGE, new ImageIcon(imageLocation));
		System.exit(0);
	}

}
